package com.jydd.liaomingframe.common;

import java.util.HashMap;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

/**
 * created by 韦敏敏
 * on 2019/11/18
 */

public interface BaseRepositon {
    /*登录*/
    @GET("sys/user/auth/login/app")
    Call<BaseResult> login(@QueryMap HashMap<String, String> userMap);
    /*互踢*/
    @FormUrlEncoded
    @POST("sys/user/app/logout/app")
    Call<Object> loginOut(@Field("account") String account, @Field("type") String type);
}
